package com.xinghou.platform.service.main;


import com.xinghou.platform.entity.req.UserRegistReq;
import org.springframework.dao.DataAccessException;

public interface UserService {
	/**
	 * 创建账号信息
	 * @return
	 */
	public String createUserAccount(UserRegistReq userRegistReq)throws DataAccessException;
	
	/**
	 * 更新用户基本资料 返回 0成功 1失败
	 * @param userRegist
	 * @return
	 * @throws DataAccessException
	 */
	public String updateUserInfoBase(UserRegistReq userRegist)throws DataAccessException;
	
	/**
	 * 更新用户兴趣信息 返回 0成功 1失败
	 * @param userRegist
	 * @return
	 * @throws DataAccessException
	 */
	public String updateUserInfoTaste(UserRegistReq userRegist)throws DataAccessException;
	
	/**
	 * 更新用户职业信息 返回 0成功 1失败
	 * @param userRegist
	 * @return
	 * @throws DataAccessException
	 */
	public String updateUserInfoJob(UserRegistReq userRegist)throws DataAccessException;
	
	/**
	 * 更新用户门店信息 返回 0成功 1失败
	 * @param userRegist
	 * @return
	 * @throws DataAccessException
	 */
	public String updateUserInfoShop(UserRegistReq userRegist)throws DataAccessException;

	public String registerHuanxin(Integer uid,String password,String nickname);


	public Boolean isMobileBind(String mobile);


}
